﻿namespace Yoozoo.Modules.InnerCity
{
    public class TakeObjAction : WalkAction
    {
        protected override StateAction state
        {
            get => StateAction.TakeObj;
        }

        public override void Init(CityUnit owner)
        {
            base.Init(owner);
        }

        public override void Enter(object args = null)
        {
            Debug.Log("开始搬运");
            base.Enter();
        }

        public override void Play()
        {
            base.Play();
        }

        public override void Exit()
        {
            Debug.Log("结束搬运");
            base.Exit();
        }

        protected override void PlayWalkAni()
        {
            this.owner.PlayCarryAni();
        }
    }
}